<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-field="nickname" class="form-control" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Logintime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-logintime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[logintime]" type="text" value="{:$row.logintime?datetime($row.logintime):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wxunionid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wxunionid" class="form-control" name="row[wxunionid]" type="text" value="{$row.wxunionid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wxopenid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wxopenid" class="form-control" name="row[wxopenid]" type="text" value="{$row.wxopenid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wxnickname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wxnickname" class="form-control" name="row[wxnickname]" type="text" value="{$row.wxnickname|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wxgender')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-wxgender" class="form-control selectpicker" name="row[wxgender]">
                {foreach name="wxgenderList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.wxgender"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wxcity')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wxcity" class="form-control" name="row[wxcity]" type="text" value="{$row.wxcity|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wxprovince')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wxprovince" class="form-control" name="row[wxprovince]" type="text" value="{$row.wxprovince|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wxcountry')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wxcountry" class="form-control" name="row[wxcountry]" type="text" value="{$row.wxcountry|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wxavatarurl')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wxavatarurl" class="form-control" name="row[wxavatarurl]" type="text" value="{$row.wxavatarurl|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
